/**
 * @desc    图片相关 包含 目录和图片
 * @author  刘贺[of2220]
 * @company qianmi.com
 * @Date    2017/2/10
 */
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
const mongoose = require("mongoose");
//创建集合模式
let RelatedImgInfoSchema = new mongoose.Schema({
    id: { type: String, unique: true, required: true },
    name: { type: String, required: true },
    pid: { type: String, required: true },
    isCate: { type: Boolean, required: true },
    src: String,
    des: String,
    keyword: [String],
    fileSize: String,
    imgSize: String,
    uploadTime: String
});
//导出模型
exports.default = mongoose.model('RelatedImgInfo', RelatedImgInfoSchema);
